#!/bin/bash
test="rx_log"
dir=$test/p
echo "dir $dir"
rm -rf $dir/*

num_client=$1
op_client=$2
ip_client=192.168.138.60

for((i=1; i<=$num_client; i++))
do
    iperf3 -s -p `expr 5200 + $i` -f g --logfile $dir/iperf3_$i.log &
done
